<template>
  <view class="container">
    <image class="success-img" src="/static/success.jpeg"></image>
    <text class="success-text">支付成功</text>
    <text class="text-tips">感谢您的支持。</text>
  </view>
</template>
 
<script>
export default {
  methods: {
    goHome() {
      // 跳转到首页
      uni.switchTab({
        url: '/pages/home/home'
      });
    }
  }
}
</script>
 
<style>
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 100rpx;
  background-color: #ffffff; /* 白色背景 */
}
.success-img {
  width: 200rpx;
  height: 200rpx;
}
.success-text {
  font-size: 36rpx;
  color: #333;
  margin-top: 20rpx;
}
.text-tips {
  font-size: 28rpx;
  color: #666;
  margin-top: 20rpx;
  margin-bottom: 40rpx;
}
.btn-go-home {
  width: 200rpx;
  height: 80rpx;
  line-height: 80rpx;
  text-align: center;
  font-size: 32rpx;
  border-radius: 50rpx;
  margin-bottom: 40rpx;
  background-color: #007AFF;
  color: #fff;
}
.page {
  background-color: #ffffff; /* 白色背景 */
}
</style>